package com.ruoyi.project.sysmanage.mapper;

import com.ruoyi.project.sysmanage.domain.Cost;
import com.ruoyi.project.sysmanage.domain.Registration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author : 代学欣
 * @date : 20:38 2021/7/14
 */
@Mapper
public interface RegistrationMapper {
    List<Registration> selectList(Registration registration);

    /**
     * 添加挂号费用
     * @param registration
     * @return
     */
    int insert(Registration registration);

    /**
     * 主键查询
     * @param reg_id
     * @return
     */
    Registration selectById(Integer reg_id);

    /**
     * 更新新数据
     * @param registration
     * @return
     */
    int update(Registration registration);

    /**
     * 删除
     * @param reg_ids
     * @return
     */
    int batchdelete(Integer[] reg_ids);
}
